{$CLEO .cs}
{$USE CLEO+}
{$USE newOpcodes}
{$USE ini}

0000: NOP

script_name "DeathMod"

// by ArtemQa146

                repeat
                wait 0
                04ED: load_animation  "Death Anims"
                until 04EE:   animation "Death Anims" loaded
1@ = 1
while true
wait 0
    if
        player.Defined(0)
    then
        if
            0AB0:   is_key_pressed 84
        then
            0AD3: 2@v = string_format "F%d" 1@
            0812: AS_actor $player_actor perform_animation 2@v IFP "Death Anims" framedelta 2.0 loopA 0 lockX 1 lockY 1 lockF 0 time -1  // versionB
            0AD1: show_formatted_text_highpriority "%d" time 2000 1@
            1@ += 1
            wait 300
        end
    end
end